class Demo{
    int num = 10;
   final int num2 = 20;
    public Demo(){
        num = 100;


    }
}
public class FinalTest2
{
    public static void main(String[] args) {
        Demo d = new Demo();
        System.out.println(d.num);
        System.out.println(d.num2);
    }
}
